﻿@model SuperiorModel.TPagedModelList<SuperiorModel.UserListItem>
<table class="layui-table" id="AppList" lay-filter="test">
    <thead>
        <tr>
            <th>用户ID</th>
            <th>商户账号</th>
            <th>所属商城</th>
            <th>商城类型</th>
            <th>用户昵称</th>
            <th>用户头像</th>
            <th>创建时间</th>
            <th>状态</th>
           
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model.TList)
        {
            <tr>
                <td>@(SuperiorCommon.SecretClass.DecryptQueryString(item
                    .Id))</td>
                <td>@item.LoginName</td>
                <td>@item.ShopName</td>
                <td>@(item.AppType == 1 ? "小程序" : "H5")</td>
                <td>@item.NickName</td>
                <td><img style="width:30px;height:30px;" src="@item.HeadImgUrl" /></td>
                <td>@item.CreateTime.ToString("yyyy-MM-dd HH:mm:ss")</td>
                <td>
                    @switch (item.OptionStatus)
                    {
                        case 0:
                            <span style="color:green">正常</span>
                            break;
                        case -1:
                            <span style="color:orangered">冻结</span>
                            break;
                    }
                </td>
                
            </tr>
        }
    </tbody>
</table>
@Html.Partial("_TPager", Model.PagingResult)